﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;
namespace Config
{
    /// <summary>
    /// Khai báo các hằng số dùng trong hệ thống
    /// </summary>
    public class Constants
    {
       
        /// <summary>
        /// Thư mục chứa Key cho mã hóa SHA
        /// </summary>
        public const string KEY_PATH = "KEY_PATH";

        public const string CONNECTION = "ConnectionString";

        public const string IS_MD5 = "IS_MD5";

        public const string WEB_ROOT = "WEB_ROOT";
        public const string SiteID = "SiteID";
        public const string EmailID = "EmailID";
        public const int PAGE_SIZE_DEFAULT = 20;
        public const int PAGE_DISPLAY_DEFAULT = 5;
        public const string TIME_ZONE = "TIME_ZONE";

        #region Resource Path
        public const string ImagePath = "ImagePath";
        public const string GalleryPath = "GalleryPath";
        #endregion

        #region Encryption
        public const string SMTPPassKey = "SPK";
        public const string SMTPPassIndex = "SPI";
        #endregion

        #region Mail
        public const string SMTP_SERVER = "SMTPServer";
        public const string SMTP_PORT = "SMTPPort";
        public const string EMAIL_ADDRESS = "EmailAddress";
        public const string EMAIL_USERNAME = "EmailUserName";
        public const string EMAIL_PASSWORD = "EmailPassword";
        public const string EMAIL_SUBJECT = "EmailSubject";
        #endregion

        #region Session
        public const string SESSION_CURRENT_PAGE = "sesCurrentPage";
        public const string SESSION_CURRENT_TAB = "sesCurrentTab";
        public const string SESSION_CURRENT_URL = "sesCurrentUrl";
        public const string SESSION_MY_CULTURE = "sesMyCulture";
        public const string SESSION_NATIONALID = "sesNationalID";
        public const string SESSION_LANGUAGEID = "sesLanguageID";

        public const string SESSION_USERID = "sesUserID";
        #endregion
    }
}
